﻿package com.eaglesandcobras.games.questions {
	import flash.display.MovieClip;
	import flash.events.*;
	import flash.text.TextField;
	
	public class QuestionButton extends MovieClip{
		public var bg:MovieClip;
		public var labelTxt:TextField;
		private var _correct:Boolean;

		public function QuestionButton() {
			super();
			this.buttonMode = true;
			this.mouseChildren = false;
		}
		
		public function set label($s:String):void {
			labelTxt.text = $s;
		}
		
		public function set correct($b:Boolean):void {
			_correct = $b;
		}
		
		public function get correct():Boolean {
			return _correct;
		}
	}
	
}
